<?php
include"config.php";
$sql="select COUNT(admin) from $test_user where name='$_COOKIE[user]'";
$result=$mysqli->query($sql);
$admin=$result->fetch_row();
if($admin[0]==0)
{
	echo "你不是管理员，不能执行该操作！";
	exit(" ");
}
?>
